package com.cs.csworkflow.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@RestController
@RequestMapping("test")
@Slf4j
public class TestController {
    @RequestMapping("go")
    public String go(HttpServletRequest request) {
        String username = request.getHeader("username");
        log.info("username:{}", username);
        return "workflow test go";
    }
}
